<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <base th:href="${#request.getContextPath()}+'/'">
<link href="templates/css/list.css" type="text/css" rel="stylesheet">

</head>

<body>
<div class="content">
    <table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
        <thead>
        <tr>
            <th>学生编号</th>
            <th>姓名</th>
            <th colspan="3">操作</th>
        </tr>
        </thead>
        <tbody>
            <tr th:each="student:${students}">
                <td th:text="${student.sno}"></td>
                <td th:text="${student.name}"></td>
                <td ><a th:href="@{'student/queryStudentsBySnoRelation/'+${student.sno}}">详情</a>
                </td>
                <td ><a th:href="@{'page/arrive/student/update/'+${student.sno}}">修改</a></td>
            </tr>

        <tr><td colspan="9"><a href="page/arrive/student/add">新增</a></tr>
        </tbody>
    </table>
</div>
</body>

</html>
